﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Randata.Helpers;

namespace Randata.DataResolvers.Implementation
{
    internal class StringDataResolver : DataResolver<String>
    {
        internal override string Resolve()
        {
            return Rand.Instance.Next().ToString()
                .Replace('0', 'a')
                .Replace('1', 'b')
                .Replace('2', 'c')
                .Replace('3', 'd')
                .Replace('4', ' ')
                .Replace('5', 'e')
                .Replace('6', 'f')
                .Replace('7', 'g')
                .Replace('8', 'h')
                .Replace('9', 'i');
        }
    }
}
